package info.ask4research.dao;

import java.util.List;

import info.ask4research.dao.core.AbstractDao;
import info.ask4research.model.User;
import info.ask4research.model.roles.Role;

public interface IRoleDAO extends AbstractDao<Role> {

	List<Role> getStaffRolesByUoL(int id);

	List<Role> getLearnerRolesByUoL(int id);

	List<Role> getRolesByUoL(int id);

	boolean roleNameExists(String stringRole, Integer uoLId);

	Role getRoleByUoFandRoleName(String stringRole, Integer uoLId);

	List<Role> getRoleListByUoL(Integer limit, Integer page, Integer start, Integer idUoL);

	Role getRoleByName(String manager);

}
